]> dgit.raspbian.org Git - gnome-shell.git/commit
weather: Prevent setting Geoclue source as location name
authorBrendan William <brendan.william@outlook.com>
Wed, 9 Aug 2023 17:40:35 +0000 (10:40 -0700)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 16 Aug 2023 19:17:21 +0000 (19:17 +0000)
commitae86b58d59bb80e6d104debae7c34a890563c321
treeb33ceed4c929f9312ead2fcdda75519fa72b383f
parent055c0468ca154c50fc0d25b9fe70b3a6a9b39fa6
weather: Prevent setting Geoclue source as location name

Prior to Geoclue v2.7, the location description did not seem to ever be
set. Now, the source used to determine the location is set as the
description. This can result in the location name in dateMenu to be set
as "WiFi", "GeoIP", etc., since we relay the description as the location
name to GWeather. Instead, pass an empty string so GWeather continues
to set the location name itself.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2729>
js/misc/weather.js